home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
games_a
/
wordy410.zip
/
ANAGRAM.DOC
< prev
next >
Wrap
Text File
|
1995-12-19
|
4KB
|
82 lines
ANAGRAM
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
September, 1994 - December, 1995
I am most pleased by the response to WORDY. It is gratifying that there is
still an audience for simple text-based word games and that not everyone has
been spoiled by convenient and flashy Graphic User Interfaces that adorn
mostly boring games.
In August, 1994, David Thomas of Penrith, Australia pointed out to me that
the WORDY package is missing an important utility. He wanted to see a
program that would list all the "permissable" words that could be
constructed from an entered word or letter set. At first, I was skeptical. I
was reluctant to enter on a project that could consume great chunks of my
limited time. When finally I began to dabble with the idea, I found to my
surprise that I could re-use some of my original WORDY source code, and that
I was able to whip up a workable ANAGRAM program in only a few hours.
To my further surprise, the ANAGRAM program runs quite fast. At the
beginning of the project, I had estimated it would take maybe 20 minutes to
do a complete anagram search on a given letter set. After all, a 10-letter
set has over 3,600,000 possible combinations to test. Then came inspiration.
I need test only the 100,000+ words in the WORD.LST file singly against the
letter set, and this is true no matter how long the entered letter set. As
an additional benefit, the list of words constructed will be alphabetized
in the listing file. ANAGRAM will test a letter set in about 21 seconds on
an aging 386SX-33 computer. A 486DX-66 with a fast IDE drive and caching
runs ANAGRAM in about 4 (count 'em, four) seconds!
To run ANAGRAM, type: anagram xxxxxxxx, where xxxxxxxx is the set of letters
or word you wish to anagram. The program will save all the anagrammed words
(the "acceptable" words that can be constructed from the entered letter set)
in a file named after the letter set. This is an ASCII file that can be
viewed with a file viewer or printed with no special measures taken. Note
that you need the file WORD.LST from the WORDY package in your current
working directory, as this is the word file from which the anagrammed words
are validated.
After considerable thought, I have decided not to raise the suggested
registration fee for the WORDY package from the original $2.00. This makes
it something of a bargain by contemporary standards. This is not a fancy
game, but it can provide many hours of fascination for those interested in
language and words. It can also be an invaluable practice aid for Scrabble
(tm) players, especially now that racks of letters in that game can be
quickly tested for all possible valid constructible words.
The source code for ANAGRAM, the files ANAGRAM.C and SRCH.H are now included
as part of the package for all you C programmers out there to play with.
----------------------------------------------------------------------------
Addendum 02/26/95:
The ANAGRAM utility now has been updated to work with "wild cards", or "blank
tiles". The "wild card" or "blank tile" character is the ? (question mark).
For example, to anagram the letters RETIN with two "blank tiles", type:
anagram retin??
The "wild card" characters may be placed in any position in the letter set to
be tested. Typing: anagram ?reti?n or r??etin or ??retin has the same
results as above.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
M\Cooper
3425 Chestnut Ridge Road
Grantsville, MD 21536-9801
--------------------------
Email: thegrendel@aol.com
+++
Special thanks to the late Alfred Butts, the inventor of Scrabble (tm), for
bringing us this endlessly fascinating pastime.
+++
Scrabble (tm) is a trademark of Hasbro, Inc.
WORDY (pd) is *not* a trademark, and may not be trademarked. It is in the
Public Domain, which means it belongs to everyone.